using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Tool
{
    public partial class DeleteSoundFileDialog : Form
    {
        private System.Windows.Forms.Form m_Parent;

        public DeleteSoundFileDialog(System.Windows.Forms.Form parent)
        {
            InitializeComponent();
            m_Parent = parent;
        }

        private void DeleteAccept_Click(object sender, EventArgs e)
        {
            ((Editor)m_Parent).m_soundLibrary.DeleteFile();
            this.Close();
        }

        private void DeleteCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }



    }
}